package com.zxy.ziems.common.pojo.modbus;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 设备的modbus相关配置
 * @author 10348359
 * @create 2024-03-26 11:13
 */
@Data
public class DeviceConfigModbus {
    /**
     * 从站号
     */
    @NotNull(message = "从站号不能为空")
    @Min(value = 0, message = "从站号从0开始")
    private Integer station;
}
